import request from '@/utils/request'

// 查询hxs协议评审会列表
export function listDealHxsWfProtocol(query) {
  return request({
    url: '/protocol/dealHxsWfProtocol/list',
    method: 'get',
    params: query
  })
}

// 查询hxs协议评审会详细
export function getDealHxsWfProtocol(data) {
  return request({
    url: '/protocol/dealHxsWfProtocol/getInfo',
    method: 'post',
    data: data
  })
}

// 保存hxs协议评审会
export function saveDealHxsWfProtocol(data) {
  return request({
    url: '/protocol/dealHxsWfProtocol/save',
    method: 'post',
    data: data
  })
}

// 删除hxs协议评审会
export function delDealHxsWfProtocol(id) {
  return request({
    url: '/protocol/dealHxsWfProtocol/' + id,
    method: 'delete'
  })
}

// 导出hxs协议评审会
export function exportDealHxsWfProtocol(query) {
  return request({
    url: '/protocol/dealHxsWfProtocol/export',
    method: 'get',
    params: query
  })
}

// 初始化项目入库信息
export function getDealInitialize(dealId) {
  return request({
    url: '/protocol/dealHxsWfProtocol/getDealInitialize/' + dealId,
    method: 'get'
  })
}
